package com.kosinsut.youtubeplaylistbuilder.playlistbuilder;

import com.google.gdata.client.youtube.YouTubeService;
import com.google.gdata.data.youtube.VideoEntry;
import com.kosinsut.youtubeplaylistbuilder.Song;

/**
 * VideoSearcher is an interface which will be implemented for searching video in youtube.
 * @author Kosin
 *
 */
public interface VideoSearcher {

	/**
	 * This method will return a result video
	 * @param service YoutubeService
	 * @param song song to be searched
	 * @return the result video
	 * @throws PlaylistBuilderException
	 */
	public VideoEntry searchVideoEntry(YouTubeService service, Song song) throws PlaylistBuilderException;
	
}
